<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    {foreach $array as $v}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{$v['title']}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" readonly data-rule="required" class="form-control "  type="text" value="{$v['value']}">
        </div>
    </div>
    {/foreach}
   
</form>
